<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    #box{
        width: 600px;
        margin: 50px auto;
    }
    #map {
        margin-top: 10px;
        width: 700px;
        height: 400px;
        background-color: darkgray;
        position: relative;
        
    }
    .food{
       
       
        background-color: darkorange;
        position: absolute;
        top: 0px;
        left: 0;
      
    }  
    .ss{
        background: url(./images/ss.png)center 0/cover;
        border: 0;
    } 
</style>

<body>
    <div id="box">
        <p id="pp">得分：<span id="span">0</span></p>
        <button id="begin">开始游戏</button>
        <button id="stop">暂停游戏</button>
        <button id="anew">重新开始</button>
        <div id="map"></div>
        
    </div>

</body>
<script src="tcs.js"></script>
</html>